home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir35
/
baggrep.zip
/
GREP.DOC
< prev
Wrap
Text File
|
1993-03-19
|
2KB
|
37 lines
19Mar93 Notes on GREP
19Mar93
1. This zip contains this file (grep.doc) and grep.cb, grep.cm, cbrief.h.
2. The grep macro searches all buffers for a string. This string can contain
regular expressions. The search in each buffer uses the current settings
for case sensitivity and RE on/off.
3. You can hit any key while it is searching; this will stop the search
after that particular file.
4. Once done searching, a window pops up showing the files and lines (with
line numbers prepended) containing the search pattern. Moving the cursor
to the file line and hitting Enter will get you to the current location
in that file. Positioning on a line with a line number and hitting Enter
will get you to that line, with the cursor on the pattern, just like
after a search. The _s_pat global is set to the pattern.
5. Hitting Esc will drop the grep window and leave you where you were.
6. The list buffer is saved, so the next grep can show you the results of
the prior search. If you enter a pattern, grep will kill the prior
buffer and search anew.
7. If you want to save the resources and kill the buffer after each grep,
hold down the Shift key (either one) with Enter or Esc.
8. I can be reached via E-mail at barry.goldstein@channel1.com or via any BBS
echoed to the Channel 1 BBS in Cambridge, MA (617-354-8873). Or at
Compu$erve (73467,1357), though I only check there weekly
9. You may do whatever you want with these programs. No promises. No
charge. Comments are welcome.
--------------------------- end of grep.doc file ----------------------------